<?php
namespace app\common\enum;

class OstSale extends Model
{
    protected static $model = 'tysj\\OstSale';

    //是否支持退款
    public function isRefund($osid) {
    	return in_array($osid, [2, 6]);
    }

    //是否需要退货
    public function isReturn($osid) {
    	return in_array($osid, [6]);
    }
}
